package com.whm.hrmanagement.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whm.hrmanagement.domain.OaSalary;
import com.whm.hrmanagement.domain.dto.OaStaffSalaryDto;
import com.whm.hrmanagement.domain.vo.OaSalaryVo;

/**
 * 员工工资Service接口
 * 
 * @author whm
 * @date 2024-02-07
 */
public interface IOaSalaryService extends IService<OaSalary>
{
    /**
     * 查询员工工资
     * 
     * @param id 员工工资主键
     * @return 员工工资
     */
    public OaSalary selectOaSalaryById(String id);

    /**
     * 查询员工工资列表
     * 
     * @param oaSalary 员工工资
     * @return 员工工资集合
     */
    public List<OaSalary> selectOaSalaryList(OaSalary oaSalary);
    public List<OaStaffSalaryDto> selectOaSalaryList2(OaSalaryVo oaSalaryVo);
    /**
     * 新增员工工资
     * 
     * @param oaSalary 员工工资
     * @return 结果
     */
    public int insertOaSalary(OaSalary oaSalary);

    /**
     * 修改员工工资
     * 
     * @param oaSalary 员工工资
     * @return 结果
     */
    public boolean updateOaSalary(OaSalary oaSalary);

    /**
     * 批量删除员工工资
     * 
     * @param ids 需要删除的员工工资主键集合
     * @return 结果
     */
    public int deleteOaSalaryByIds(String[] ids);

    /**
     * 删除员工工资信息
     * 
     * @param id 员工工资主键
     * @return 结果
     */
    public int deleteOaSalaryById(String id);
}
